import 'dart:ui';

import 'lan/lan_zh_cn.dart';
import 'lan/lan_en_us.dart';
import 'lan/lan_ja_jp.dart';
import 'lan/lan_ko_kr.dart';
import 'lan/lan_th_th.dart';
import 'lan/lan_vi_vn.dart';
import 'lan/lan_id_id.dart';
import 'lan/lan_pt_br.dart';
import 'lan/lan_es_es.dart';

class LanConfig {
  /// 支持的语言
  static const List<Locale> supportedLocales = [
    Locale('zh', 'CN'),
    Locale('en', 'US'),
    Locale('ja', 'JP'),
    Locale('ko', 'KR'),
    Locale('th', 'TH'),
    Locale('vi', 'VN'),
    Locale('id', 'ID'),
    Locale('pt', 'BR'),
    Locale('es', 'ES'),
  ];

  /// 语言映射表
  static const Map<String, Map<String, String>> languageMap = {
    'zh': zhCn,
    'en': enUs,
    'ja': jaJp,
    'ko': koKr,
    'th': thTh,
    'vi': viVn,
    'id': idId,
    'pt': ptBr,
    'es': esEs,
  };
}
